package com.yunxi.freeze.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.freeze.pojo.AmountFreezeVO;
import com.yunxi.order.pojo.PartnerFreezeAmountReqVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  资金冻结服务类
 * </p>
 *
 * @author 
 * @since 2019-07-09
 */
public interface AmountFreezeDubboService {

    AmountFreezeVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(AmountFreezeVO amountFreezeVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<AmountFreezeVO> findPageByVO(AmountFreezeVO amountFreezeVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<AmountFreezeVO> amountFreezeVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(AmountFreezeVO amountFreezeVO);

    PageInfo listPartnerFreezeAmount(PartnerFreezeAmountReqVO reqVO,Integer pageNum, Integer pageSize);

    PageInfo listPartnerFreezeAmountDetail(PartnerFreezeAmountReqVO reqVO,Integer pageNum, Integer pageSize);
}
